package io.github.talelin.latticy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.github.talelin.latticy.dto.zty.ShopListDTO;
import io.github.talelin.latticy.pojo.WarehouseInputList;
import io.github.talelin.latticy.vo.zty.InputDetailVO;
import io.github.talelin.latticy.vo.zty.InputListVO;
import io.github.talelin.latticy.vo.zty.PurchaseListVO;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZTY
 * @since 2021-04-15
 */
public interface WarehouseInputListService extends IService<WarehouseInputList> {

    int createPurchaseList(ShopListDTO shopListDTO);
    int createInputList(int purchaseListId,int handlerId);
    int createReturnList(int inputListId,int handlerId);
    List<PurchaseListVO> getPurchaseLists();
    List<InputListVO> getInputLists();
    List<InputDetailVO> getPurchaseDetailsByPurchaseListId(int id);
    List<InputDetailVO> getPurchaseDetailsByInputListId(int id);
}
